<?php
/**
 * 资产包尽调——立项3-7
 * User: zhao shou qiang
 * Date: 2018/1/9 0009
 * Time: 11:33
 */

use yii\helpers\Html;

?>
<style type="text/css">
    .perfect-information .label-div4 textarea{padding: 10px; height: 100px;}
    #principal-error {margin-top: 20px;}
</style>

<!-- 1. 3. 卖家提供的信息资料 -->

<form class="form-horizontal" name="packageInitiation">
    <div class="form-group" style="margin-bottom: 0;">
        <div class="pull-left label-div label-div4">
            <input type="hidden" name="PackageInitiation[id]" value="<?php echo Html::encode($data->id); ?>"/>
            <textarea class="form-control textarea-edit" name="PackageInitiation[seller_files]"
            style="min-height: 80px;" placeholder="清单、案卷、银行和资产公司的内评报告、获得卖家的尽调授权"><?php echo Html::encode($data['seller_files']); ?></textarea>

        </div>
    </div>
</form>

<!-- 1. 4.资产成交的期限和成交方式 -->
<div class="perfect-logo col-md-12 perfect-logo2 perfect-information-logo mt20 mb10">
    <span class="pull-left">4.资产成交的期限和成交方式</span>
</div>
<form class="form-horizontal" name="packageInitiation">
    <div class="form-group" style="margin-bottom: 0;">
        <div class="pull-left label-div label-div4">
            <textarea class="form-control textarea-edit" name="PackageInitiation[deal_method]" placeholder="拍卖、竞价、协议等"><?php echo Html::encode($data['deal_method']); ?></textarea>
        </div>
    </div>
</form>

<!--  1.5.当地共同处置资产包的合作伙伴情况 -->
<div class="perfect-logo col-md-12 perfect-logo2 perfect-information-logo mt20 mb10">
    <span class="pull-left">5.当地共同处置资产包的合作伙伴情况</span>
</div>
<form class="form-horizontal" name="packageInitiation">
    <div class="form-group" style="margin-bottom: 0;">
        <div class="pull-left label-div label-div4">
            <textarea class="form-control textarea-edit" name="PackageInitiation[partners]"
            ><?php echo Html::encode($data['partners']); ?></textarea>
        </div>
    </div>
</form>

<!--  1.6.当地司法环境对所立项目的法律支持分析 -->
<div class="perfect-logo col-md-12 perfect-logo2 perfect-information-logo mt20 mb10">
    <span class="pull-left">6.当地司法环境对所立项目的法律支持分析</span>
</div>
<form class="form-horizontal" name="packageInitiation">
    <div class="form-group" style="margin-bottom: 0;">
        <div class="pull-left label-div label-div4">
            <textarea class="form-control textarea-edit" name="PackageInitiation[law]" placeholder="未诉讼立案限制、终结执行无债权凭证能否恢复、变更申请执行人是否需要另诉、强制清算和破产立案" 
            ><?php echo Html::encode($data['law']); ?></textarea>
        </div>
    </div>
</form>

<!--  1.7.卖家报价，及未来价格可谈判空间 -->
<div class="perfect-logo col-md-12 perfect-logo2 perfect-information-logo mt20 mb10">
    <span class="pull-left">7.卖家报价，及未来价格可谈判空间</span>
</div>
<form class="form-horizontal" name="packageInitiation" id="packageInitiationEdit">
    <div class="form-group" style="margin-bottom: 0;">
        <div class="pull-left label-div label-div4">
            <div>当前卖方报价 (预估售价)：</div>

            <!--<input class="form-control" name="PackageInitiation[bargain]" id="initiation_bargain"  style="height: 34px" value="-->
            <input class="form-control initiation_bargain" name="PackageInitiation[bargain]" id="principal" isNumber="true" onkeydown="true" style="height: 34px" value="<?php
            if ($data->bargain != 0) {
                echo $data->bargain;
            } else {
                echo 0;
            }
            ?>" />

<!--            <textarea class="form-control textarea-edit" name="PackageInitiation[bargain]" style="height: 34px" -->
<!--            >--><?php
            //                   if ($data->bargain != 0) {
            //                       echo $data->bargain;
            //                   } else {
            //                       echo 0;
            //                   }
            //                   ?><!--</textarea>-->

            <div class="mt10">未来价格可谈判空间 :</div>
            <textarea class="form-control textarea-edit" name="PackageInitiation[future_price_space]" placeholder="对接是卖家，还是居间人？是否找到成交关键人？沟通情况及相应联系方式"><?php echo Html::encode($data->future_price_space); ?></textarea>
        </div>
    </div>
</form>



<form class="form-horizontal" name="packageInitiation">
    <div class="btns" style="margin-top: 40px;">
        <button type="button"
                class="btn btn-primary perfect-information-btn btns-primary btns-primary-save pull-right save_initation3_7">
            保存
        </button>
        <button type="reset"
                class="btn btn-default perfect-information-btn btns-primary btns-primary-del pull-right cancel_initation3_7">
            取消
        </button>
    </div>
</form>

